<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:mo="https://gitee.com/aun/Timo">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="timo-detail-page">
        <div class="timo-detail-title">基本信息</div>
        <table class="layui-table timo-detail-table">
            <colgroup>
                <col width="100px"><col>
                <col width="100px"><col>
            </colgroup>
            <tbody>
                <tr>
                    <th>项目名称</th>
                    <td th:text="${appInfo.display_name}"></td>
                    <th>代码仓库类型</th>
                    <td>
                        <select class="timo-search-select" disabled="disabled" mo:dict="APP_REPO_TYPE" mo-selected="${appInfo.repo_type}"></select>
                    </td>
                </tr>
                <tr>
                    <th>代码仓库URL</th>
                    <td th:text="${appInfo.repo_url}"></td>
                    <th>代码仓库账号</th>
                    <td>
                        <div th:replace="/common/fragment :: selectTag('repo_account_id',${accounts},${appInfo?.repo_account_id},'id','account','disabled')"></div>
                    </td>
                </tr>
                <tr>
                    <th>基线分支</th>
                    <td>
                        <select class="timo-search-select" disabled="disabled" mo:dict="APP_BASE_TYPE" mo-selected="${appInfo.base}"></select>
                    </td>
                    <th>所属产品线</th>
                    <td>
                        <div th:replace="/common/fragment :: selectTag('prod_line_id',${prodLines},${appInfo?.prod_line_id},'id','title','disabled')"></div>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
<script th:replace="/common/template :: script"></script>
</body>
</html>